# coding:utf-8
#loop sets
#join sets
thisset = {"apple", "banana", "cherry"}
for x in thisset:
print(x)
# Both union() and update() will exclude any duplicate items.
set1 = {"a", "b" , "c"}
set2 = {1, 2, 3}
set3 = set1.union(set2)
print(set3)
set1.update(set2)
print(set1)